package com.business.system.official.toursism.websitegoods.manager;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.business.system.official.toursism.websitegoods.entity.WebsiteGoods;
import com.business.system.official.toursism.websitegoods.vo.WebsiteGoodsBriefListVO;
import com.business.system.official.toursism.websitegoods.vo.WebsiteGoodsBriefVO;
import com.business.system.official.toursism.websitegoods.vo.WebsiteGoodsDetailListVO;
import com.business.system.official.toursism.websitegoods.vo.WebsiteGoodsDetailVO;
import com.business.system.official.toursism.websitegoods.vo.data.WebsiteGoodsBriefData;
import com.business.system.official.toursism.websitegoods.vo.data.WebsiteGoodsDetailData;
import com.seed.core.exception.ManagerException;
import com.seed.core.pojo.manager.SeedSystemManager;

import java.util.List;

/**
 * @description 商品
 * @author CodeGenerator
 * @date   2025-01-25
 * @version V1.0
 */
public interface WebsiteGoodsManager extends SeedSystemManager<WebsiteGoods> {

    /**
     * 根据id获取详情VO data
     *
     * @param websiteGoodsId 对象id
     * @return 详情VO data对象
     * @throws ManagerException 通用层异常
     */
    WebsiteGoodsDetailData convertDetailData(String websiteGoodsId) throws ManagerException;

    /**
     * 转换为VO对象
     *
     * @param websiteGoods model
     * @return VO对象
     * @throws ManagerException 通用层异常
     */
    WebsiteGoodsDetailData convertDetailData(WebsiteGoods websiteGoods) throws ManagerException;

    /**
     * 根据id获取详情VO
     *
     * @param websiteGoodsId 对象id
     * @return 详情VO对象
     * @throws ManagerException 通用层异常
     */
    WebsiteGoodsDetailVO getDetailVO(String websiteGoodsId) throws ManagerException;

    /**
     * 根据对象获取详情VO
     *
     * @param websiteGoods 对象
     * @return 详情VO对象
     * @throws ManagerException 通用层异常
     */
    WebsiteGoodsDetailVO getDetailVO(WebsiteGoods websiteGoods) throws ManagerException;

    /**
     * 根据对象ids获取详情VO data list
     *
     * @param ids 对象ids
     * @return 详情VO data list对象
     * @throws ManagerException 通用层异常
     */
    List<WebsiteGoodsDetailData> getConvertDetailListVOByIds(List<String> ids) throws ManagerException;

    /**
     * 根据查询条件获取详情VO data list
     *
     * @param queryWrapper 查询条件
     * @return 详情VO data list对象
     * @throws ManagerException 通用层异常
     */
    List<WebsiteGoodsDetailData> listConvertDetailData(Wrapper<WebsiteGoods> queryWrapper) throws ManagerException;

    /**
     * 转换为VO对象
     *
     * @param websiteGoodsList model列表
     * @return VO对象列表
     * @throws ManagerException 通用层异常
     */
    List<WebsiteGoodsDetailData> listConvertDetailData(List<WebsiteGoods> websiteGoodsList) throws ManagerException;

    /**
     * 根据对象ids获取详情VO data list
     *
     * @param ids 对象ids
     * @return 详情VO data list对象
     * @throws ManagerException 通用层异常
     */
    WebsiteGoodsDetailListVO getDetailListVOByIds(List<String> ids) throws ManagerException;

    /**
     * 根据查询条件获取详情VO data list
     *
     * @param queryWrapper 查询条件
     * @return 详情VO data list对象
     * @throws ManagerException 通用层异常
     */
    WebsiteGoodsDetailListVO getDetailListVO(Wrapper<WebsiteGoods> queryWrapper) throws ManagerException;

    /**
     * 根据对象list获取详情VO data list
     *
     * @param websiteGoodsList 对象list
     * @return 详情VO data list对象
     * @throws ManagerException 通用层异常
     */
    WebsiteGoodsDetailListVO getDetailListVO(List<WebsiteGoods> websiteGoodsList) throws ManagerException;

    /**
     * 根据id获取简略VO data
     *
     * @param websiteGoodsId 对象id
     * @return 简略VO data对象
     * @throws ManagerException 通用层异常
     */
    WebsiteGoodsBriefData convertBriefData(String websiteGoodsId) throws ManagerException;

    /**
     * 转换为VO对象
     *
     * @param websiteGoods model
     * @return VO对象
     * @throws ManagerException 通用层异常
     */
    WebsiteGoodsBriefData convertBriefData(WebsiteGoods websiteGoods) throws ManagerException;

    /**
     * 根据id获取简略VO
     *
     * @param websiteGoodsId 对象id
     * @return 简略VO对象
     * @throws ManagerException 通用层异常
     */
    WebsiteGoodsBriefVO getBriefVO(String websiteGoodsId) throws ManagerException;

    /**
     * 根据对象获取简略VO
     *
     * @param websiteGoods 对象
     * @return 简略VO对象
     * @throws ManagerException 通用层异常
     */
    WebsiteGoodsBriefVO getBriefVO(WebsiteGoods websiteGoods) throws ManagerException;

    /**
     * 根据对象ids获取简略VO data list
     *
     * @param ids 对象ids
     * @return 简略VO data list对象
     * @throws ManagerException 通用层异常
     */
    List<WebsiteGoodsBriefData> listConvertBriefDataByIds(List<String> ids) throws ManagerException;

    /**
     * 根据查询条件获取简略VO data list
     *
     * @param queryWrapper 查询条件
     * @return 简略VO data list对象
     * @throws ManagerException 通用层异常
     */
    List<WebsiteGoodsBriefData> listConvertBriefData(Wrapper<WebsiteGoods> queryWrapper) throws ManagerException;

    /**
     * 根据对象list获取简略VO data list
     *
     * @param websiteGoodsList 对象list
     * @return 简略VO data list对象
     * @throws ManagerException 通用层异常
     */
    List<WebsiteGoodsBriefData> listConvertBriefData(List<WebsiteGoods> websiteGoodsList) throws ManagerException;

    /**
     * 根据对象ids获取简略VO data list
     *
     * @param ids 对象ids
     * @return 简略VO data list对象
     * @throws ManagerException 通用层异常
     */
    WebsiteGoodsBriefListVO getBriefListVOByIds(List<String> ids) throws ManagerException;

    /**
     * 根据查询条件获取简略VO data list
     *
     * @param queryWrapper 查询条件
     * @return 简略VO data list对象
     * @throws ManagerException 通用层异常
     */
    WebsiteGoodsBriefListVO getBriefListVO(Wrapper<WebsiteGoods> queryWrapper) throws ManagerException;

    /**
     * 根据对象list获取简略VO data list
     *
     * @param websiteGoodsList 对象list
     * @return 简略VO data list对象
     * @throws ManagerException 通用层异常
     */
    WebsiteGoodsBriefListVO getBriefListVO(List<WebsiteGoods> websiteGoodsList) throws ManagerException;

}
